<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title> Jquery事件模型--bind()方法  </title>
  <meta name="Generator" content="NPP-Plugin">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
 </head>
 <body>
  <script type="text/javascript">
    $(document).bind(
    "ready",
    function() {
        $("div").bind(
            "mouseover",
            function() {
                $(this).addClass("tmpExampleOver");
        }
        );

        $("div").bind(
            "mouseout",
            function() {
                $(this).removeClass("tmpExampleOver");
        }
        );
    }
);
  </script>
 </body>
</html>